<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link href="${ctx}/tree/css/xtree2.css" rel="stylesheet"
			type="text/css" />
		<script type="text/javascript" src="${ctx}/tree/scripts/xtree2.js"></script>
		<script type="text/javascript" src="${ctx}/tree/scripts/png.js"></script>
		<script type="text/javascript" src="${ctx}/tree/scripts/xloadtree2.js"></script>
		<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css" />
		<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css" />
		<script language="JavaScript" src="../scripts/main/menu_dd.js"></script>
	</head>
	<body style="margin-left:6px;">
<table class="div_t2 zd_l3" width="97%" style="margin:0;">
	<form >
			<tr class="bg1">
				<td height="30" class="font14">
					角色列表				</td>
			</tr>
			<s:iterator value="roles" status="role">
			<tr>
			 <td >
			 <div class="mod4">
			 <input type="radio" name="role" id="role" value="${roleId}" onclick="showRole();" /> ${roleName}
			 </div>
			  </td>
			</tr>
			</s:iterator>
			</table>
			</form>
	</body>
</html>
<script type="text/javascript">
<!--
	function showRole(){
	
	var elm = document.forms[0].elements;
	
	var roleId = "";

	for(var i=0;i<elm.length;i++){
	
	if(elm[i].checked == true){
		    
		roleId = elm[i].value;
		
		parent.mright.location = "${ctx}/asset/asset!showRole.action?baseRole.roleId="+roleId;
	
	}

}
	}
//-->
</script>
